RCUBE_CHARSET
RCUBE_CHARSET = 'UTF-8'
html | Class for HTML code creation |
html_button | Class to create HTML button |
html_checkbox | Class to create HTML checkboxes |
html_hiddenfield | Class to create an hidden HTML input field |
html_inputfield | Class to create an HTML input field |
html_passwordfield | Class to create an HTML password field |
html_radiobutton | Class to create HTML radio buttons |
html_select | Builder for HTML drop-down menus Syntax:<pre> // create instance. arguments are used to set attributes of select-tag $select = new html_select(['name' => 'fieldname']); |
html_table | Class to build an HTML table |
html_textarea | Class to create an HTML textarea |
rcube | Base class of the Roundcube Framework implemented as singleton |
rcube_addressbook | Abstract skeleton of an address book/repository |
rcube_addresses | Collected addresses database |
rcube_base_replacer | Helper class to turn relative urls into absolute ones using a predefined base |
rcube_browser | Provide details about the client's browser based on the User-Agent header |
rcube_cache | Interface class for accessing Roundcube cache |
rcube_cache_apc | Interface implementation class for accessing APC cache |
rcube_cache_db | Interface implementation class for accessing SQL Database cache |
rcube_cache_memcache | Interface implementation class for accessing Memcache cache |
rcube_cache_memcached | Interface implementation class for accessing Memcached cache |
rcube_cache_redis | Interface implementation class for accessing Redis cache |
rcube_charset | Character sets conversion functionality |
rcube_config | Configuration class for Roundcube |
rcube_contacts | Model class for the local address book database |
rcube_content_filter | PHP stream filter to detect html/javascript code in attachments |
rcube_csv2vcard | CSV to vCard data converter |
rcube_db | Database independent query interface. |
rcube_db_mssql | Database independent query interface This is a wrapper for the PHP PDO |
rcube_db_mysql | Database independent query interface |
rcube_db_oracle | Database independent query interface |
rcube_db_param | Database query parameter |
rcube_db_pgsql | Database independent query interface This is a wrapper for the PHP PDO |
rcube_db_sqlite | Database independent query interface This is a wrapper for the PHP PDO |
rcube_db_sqlsrv | Database independent query interface This is a wrapper for the PHP PDO |
rcube_dummy_plugin_api | Lightweight plugin API class serving as a dummy if plugins are not enabled |
rcube_enriched | Class for Enriched to HTML conversion |
rcube_html2text | Converts HTML to formatted plain text |
rcube_image | Image resizer and converter |
rcube_imap | Interface class for accessing an IMAP server |
rcube_imap_cache | Interface class for accessing Roundcube messages cache |
rcube_imap_generic | PHP based wrapper class to connect to an IMAP server |
rcube_imap_search | Class to control search jobs on multiple IMAP folders. |
rcube_imap_search_job | Stackable item to run the search on a specific IMAP folder |
rcube_ldap | Model class to access an LDAP address directory |
rcube_ldap_generic | Model class to access an LDAP directories |
rcube_message | Logical representation of a mail message with all its data and related functions |
rcube_message_header | Struct representing an e-mail message header |
rcube_message_header_sorter | Class for sorting an array of rcube_message_header objects in a predetermined order. |
rcube_message_part | Class representing a message part |
rcube_mime | Class for parsing MIME messages |
rcube_mime_decode | Class for parsing MIME messages |
rcube_output | Class for output generation |
rcube_plugin | Plugin interface class |
rcube_plugin_api | The plugin loader and global API |
rcube_result_index | Class for accessing IMAP's SORT/SEARCH/ESEARCH result |
rcube_result_multifolder | Class holding a set of rcube_result_index instances that together form a result set of a multi-folder search |
rcube_result_set | Roundcube result set class |
rcube_result_thread | Class for accessing IMAP's THREAD result |
rcube_session | Abstract class to provide database supported session storage |
rcube_session_db | Class to provide database session storage |
rcube_session_memcache | Class to provide memcache session storage |
rcube_session_memcached | Class to provide memcached session storage |
rcube_session_php | Class to provide native php session storage |
rcube_session_redis | Class to provide redis session storage |
rcube_smtp | Class to provide SMTP functionality using PEAR Net_SMTP |
rcube_spellchecker | Helper class for spellchecking with GoogieSpell and PSpell support. |
rcube_spellchecker_atd | Spellchecking backend implementation to work with an After the Deadline service See http://www.afterthedeadline.com/ for more information |
rcube_spellchecker_enchant | Spellchecking backend implementation to work with Pspell |
rcube_spellchecker_engine | Interface class for a spell-checking backend |
rcube_spellchecker_googie | Spellchecking backend implementation to work with a Googiespell service |
rcube_spellchecker_pspell | Spellchecking backend implementation to work with Pspell |
rcube_spoofchecker | Helper class for spoofing detection. |
rcube_storage | Abstract class for accessing mail messages storage server |
rcube_string_replacer | Helper class for string replacements based on preg_replace_callback |
rcube_text2html | Converts plain text to HTML |
rcube_tnef_decoder | MS-TNEF format decoder based on code by: Graham Norbury <gnorbury@bondcar.com> Original design by: Thomas Boll <tb@boll.ch>, Mark Simpson <damned@world.std.com> |
rcube_user | Class representing a system user |
rcube_utils | Utility class providing common functions |
rcube_vcard | Logical representation of a vcard-based address record Provides functions to parse and export vCard data format |
rcube_washtml | Utility class providing HTML sanitizer |
abbreviate_string(string $str, int $maxlength, string $placeholder = '...', bool $ending = false) : string
Truncate string if it is longer than the allowed length.
Replace the middle or the ending part of a string with a placeholder.
string | $str | Input string |
int | $maxlength | Max. length |
string | $placeholder | Replace removed chars with this |
bool | $ending | Set to True if string should be truncated from the end |
Abbreviated string
asciiwords(string $str, bool $css_id = false, string $replace_with = '') : string
Remove all non-ascii and non-word chars except ., -, _
string | $str | A string |
bool | $css_id | The result may be used as CSS identifier |
string | $replace_with | Replacement character |
Clean string
get_offset_time(string $offset_str, int $factor = 1) : int
Create a unix timestamp with a specified offset from now.
string | $offset_str | String representation of the offset (e.g. 20min, 5h, 2days) |
int | $factor | Factor to multiply with the offset |
Unix timestamp